package com.xx.bysj.mapper;

import com.xx.bysj.dto.HnRoleMenu;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface HnRoleMenuMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(HnRoleMenu record);

    int insertSelective(HnRoleMenu record);

    HnRoleMenu selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(HnRoleMenu record);

    int updateByPrimaryKey(HnRoleMenu record);

    void insertList(@Param("list") List<HnRoleMenu> roleMenuList);

    void deleteByRoleId(@Param("roleId") Integer roleId);
}